<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
    <link href="{{ url_for('static',filename='/bootstrap5/css/bootstrap.css') }}" rel="stylesheet"/>
    <script src="{{ url_for('static',filename='/bootstrap5/js/bootstrap.js') }}"></script>
</head>

<body>
<form action="login" method="post" style="padding: 100px">
    {{ form.csrf_token }}
    <div class="form-group">
        {{ form.username.label }}
        {{ form.username(class='form-control') }}
    </div>
    <div class="form-group">
        {{ form.password.label }}
        {{ form.password(class='form-control') }}
    </div>
    <div class="form-check">
        {{ form.remember(class='form-check-input') }}
        {{ form.remember.label }}
    </div>
    {{ form.submit(class='btn btn-primary') }}
</form>
</body>